package com.kaili.db.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.pojo.dto.query.QueryBean;
import com.kaili.pojo.entity.HsOptQuery;
import com.kaili.pojo.vo.QueryDetailVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface HsOptQueryMapper extends BaseMapper<HsOptQuery> {

    int insertBatch(List<HsOptQuery> list);

    List<QueryDetailVo> getQueryByEwbNo(Map search);

    List<QueryBean> getQueryInfo(Map search);

    List<QueryBean> getQueryInfo(Pagination page, Map search);
}
